package com.qindian.model;

/**
 * Author: Li
 * Date: 2018/5/2 0002
 * Description:
 */

public class GoodsTypeModel {
    private String catId;
    private String name;

    public GoodsTypeModel(String catId, String name) {
        this.catId = catId;
        this.name = name;
    }

    public String getCatId() {
        return catId;
    }

    public void setCatId(String catId) {
        this.catId = catId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "GoodsTypeModel{" +
                "catId='" + catId + '\'' +
                ", name='" + name + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object obj) {
        return this.toString().equals(obj.toString());
    }
}
